//using for loop System.out.println("Using For Loop\n "); for (int i = 0; i < arrlist.size();i++) { System.out.println(arrlist.get(i)); }